Type of Arrangement and Non-arrangement Transactions [Axis] Aratana Agreement [Member] Amgen Agreement [Member] Award Type [Axis] Restricted Stock Units (RSUs) [Member] Related Party [Axis] Especificos Stendhal SA de CV [Member] Equity Components [Axis] Warrant Liability [Member] Fair Value Hierarchy and NAV [Axis] Fair Value, Inputs, Level 1 [Member] Fair Value, Hierarchy [Axis] Fair Value, Inputs, Level 2 [Member] Fair Value, Inputs, Level 3 [Member] Product and Service [Axis] Royalty [Member] Global BioPharma, Inc [Member] License and Service [Member] Restatement [Axis] Adjustments [Member] Balances Without Adoption of ASC 606 [Member] Employee Stock Awards [Member] Director Stock Awards [Member] Plan Name [Axis] 2018 Employee Stock Purchase Plan [Member] Income Statement Location [Axis] Research and Development [Member] General and Administrative [Member] Range [Axis] Minimum [Member] Maximum [Member] Antidilutive Securities [Axis] Warrants [Member] Stock Options [Member] Private Exchange Agreement [Member] Sale of Stock [Axis] Public Offering [Member] Preferred Stock [Member] Common Stock [Member] Additional Paid-In Capital [Member] Accumulated Deficit [Member] Title of Individual [Axis] Investor [Member] Derivative Instrument [Axis] Exercise Price Range One [Member] Exercise Price Range Two [Member] Exercise Price Range Three [Member] Chief Financial Officer [Member] Two Former Board Members [Member] Scenario [Axis] Forecast [Member] Fiscal Year 2020 [Member] Equity Warrants [Member] Measurement Input Type [Axis] Exercise Price [Member] Stock Price [Member] Expected Term [Member] Volatility [Member] Risk Free Interest Rate [Member] Exercise Price Range Four [Member] 2011 & 2018 Employee Stock Purchase Plans [Member] Underwritten Public Offering [Member] Pre-funded Warrants [Member] Subsequent Event Type [Axis] Subsequent Event [Member] Document And Entity Information Entity Registrant Name Entity Central Index Key Document Type Document Period End Date Amendment Flag Current Fiscal Year End Date Entity Current Reporting Status Entity Interactive Data Current Entity Filer Category Entity Small Business Flag Entity Emerging Growth Company Entity Ex Transition Period Entity Shell Company Entity Common Stock, Shares Outstanding Document Fiscal Period Focus Document Fiscal Year Focus Statement of Financial Position [Abstract] ASSETS Current Assets: Cash and cash equivalents Restricted cash Accounts receivable Deferred expenses Prepaid expenses and other current assets Total current assets Property and equipment (net of accumulated depreciation) Intangible assets (net of accumulated amortization) Other assets Total assets LIABILITIES AND STOCKHOLDERS' EQUITY Current liabilities: Accounts payable Accrued expenses Deferred revenue Common stock warrant liability Other current liabilities Total current liabilities Deferred revenue-net of current portion Other liabilities Total liabilities Commitments and contingencies - Note 9 Stockholders' equity: Preferred stock, $0.001 par value; 5,000,000 shares authorized; Series B Preferred Stock; 0 shares issued and outstanding at July 31, 2019 and October 31, 2018 Liquidation preference of $0 at July 31, 2019 and October 31, 2018 Common stock - $0.001 par value; 170,000,000 shares authorized, 19,248,851 and 4,634,189 shares issued and outstanding at July 31, 2019 and October 31, 2018, respectively Additional paid-in capital Accumulated deficit Total stockholders' equity Total liabilities and stockholders' equity Preferred stock, par value Preferred stock, shares authorized Series B Preferred stock, shares issued Series B Preferred stock, shares outstanding Preferred stock, liquidation preference value Common stock, par value Common stock, shares authorized Common stock, shares issued Common stock, shares outstanding Income Statement [Abstract] Revenue Operating expenses: Research and development expenses General and administrative expenses Total operating expenses Loss from operations Other income (expense): Interest income, net Net changes in fair value of derivative liabilities Loss on shares issued in settlement of warrants Other expense Net loss before benefit for income taxes Income tax expense Net loss Net loss per common share, basic and diluted Weighted average number of common shares outstanding, basic and diluted Statement of Cash Flows [Abstract] OPERATING ACTIVITIES Net loss Adjustments to reconcile net loss to net cash used in operating activities: Stock compensation Employee stock purchase plan expense Gain on change in value of warrants Loss on shares issued in settlement of warrants Loss on disposal of property and equipment Abandonment of intangible assets Depreciation expense Amortization expense of intangible assets Net accretion of premiums Change in operating assets and liabilities: Accounts receivable Prepaid expenses and other current assets Income tax receivable Other assets Accounts payable and accrued expenses Deferred revenue Other liabilities Net cash used in operating activities INVESTING ACTIVITIES Purchases of short-term investment securities Proceeds from maturities of short-term investment securities Purchase of property and equipment Proceeds from disposal of property and equipment Cost of intangible assets Net cash (used in) provided by investing activities FINANCING ACTIVITIES Net proceeds of issuance of common stock and pre-funded warrants Warrant exercise Proceeds from employee stock purchase plan Tax withholdings paid related to net share settlement of equity awards Employee tax withholdings paid on equity awards Tax shares sold to pay for employee tax withholdings on equity awards Net cash provided by financing activities Net (decrease) increase in cash, cash equivalents and restricted cash Cash, cash equivalents and restricted cash at beginning of year Cash, cash equivalents and restricted cash at end of year The following table provides a reconciliation of cash, cash equivalents and restricted cash reported within the condensed balance sheets that sum to the total of the same such amounts shown in the condensed statements of cash flows: Cash and cash equivalents Restricted cash Total cash, cash equivalents and restricted cash shown in condensed statements of cash flows SUPPLEMENTAL CASH FLOW INFORMATION Cash paid for taxes SUPPLEMENTAL DISCLOSURE OF NON-CASH AND FINANCING ACTIVITIES Property and equipment included in accounts payable and accrued expenses Shares issued in settlement of warrants Warrant liability reclassified into equity Pre-funded warrant exercises Organization, Consolidation and Presentation of Financial Statements [Abstract] Nature of Operations Accounting Policies [Abstract] Summary of Significant Accounting Policies and Basis of Presentation Property, Plant and Equipment [Abstract] Property and Equipment Goodwill and Intangible Assets Disclosure [Abstract] Intangible Assets Payables and Accruals [Abstract] Accrued Expenses Common Stock Purchase Warrants And Warrant Liability Common Stock Purchase Warrants and Warrant Liability Share-based Payment Arrangement [Abstract] Share Based Compensation Business Combinations [Abstract] Collaboration and Licensing Agreements Commitments and Contingencies Disclosure [Abstract] Commitments and Contingencies Equity [Abstract] Stockholders' Equity Fair Value Disclosures [Abstract] Fair Value Subsequent Events [Abstract] Subsequent Events Basis of Presentation/Estimates Reclassification Concentration of Credit Risk Restricted Cash and Letters of Credit Net Income (Loss) Per Share Revenue Recognition Collaborative Arrangements Recent Accounting Standards Recently Adopted Accounting Standards Schedule of Anti-dilutive Securities Excluded from Diluted Net Loss Per Share Schedule of Reclassifications to Balance Sheet and Income Statement Schedule of Property and Equipment Summary of Intangible Assets Schedule of Carrying Value of Intangible Assets Schedule of Accrued Expenses Schedule of Outstanding Warrants Schedule of Warrants Activity Schedule of Assumptions Used in Warrant Liability Summary of Share Based Compensation Expense Summary of RSU Activity and Related Information Summary of Changes in Stock Option Plan Summary of Fair Value of Stock Options Granted of BSM Summary of Changes in Stockholders' Equity Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis Schedule of Changes in the Fair Value of Warrant Liabilities Statement [Table] Statement [Line Items] Statistical Measurement [Axis] Proceeds from public offering Operating expenses Non-recurring costs Restricted cash balance Pre-funded warrants included in computation of basic earnings per share Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table] Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] Anti Dilutive Securities Total Research and Development Expenses Leasehold improvements Laboratory equipment Furniture and fixtures Computer equipment Construction in progress Total property and equipment Accumulated depreciation and amortization Net property and equipment Finite lived patents expirations year Book value patent applications, net Intangible asset amortization expense Patents Licenses Software Total intangibles Accumulated amortization Intangible assets 2019 (Remaining) 2020 2021 2022 2023 Thereafter Total Salaries and other compensation Vendors Professional fees Total accrued expenses Class of Warrant or Right [Table] Class of Warrant or Right [Line Items] Collaborative Arrangement and Arrangement Other than Collaborative [Axis] Number of warrants to purchase common stock Exercise price Warrants outstanding Warrant expiration Number of common stock shares issued Fair value of warrant Warrants, measurement input Warrants, measurement input fair value, percentage Warrants, term Number of common stock shares sold Income on fair value of warrants Exercise Price Number of Shares Underlying Warrants Expiration Date Summary of Warrants Common Stock Purchase Warrants And Warrant Liability - Schedule Of Warrants Activity Number of Warrants, Outstanding and exercisable warrants, Beginning balance Number of Warrants, Issued Number of Warrants, Exercised Number of Warrants, Exchanged Number of Warrants, Expired Number of Warrants, Outstanding and exercisable warrants, Ending balance Weighted Average Exercise Price, Outstanding and exercisable warrants, Beginning Weighted Average Exercise Price, Issued Weighted Average Exercise Price, Exercised Weighted Average Exercise Price, Exchanged Weighted Average Exercise Price, Expired Weighted Average Exercise Price, Outstanding and exercisable warrants, Ending Aggregate Intrinsic Value, Beginning Aggregate Intrinsic Value, Ending Warrants, measurement input percentage Unrecognized compensation cost related to non-vested stock option awards Unrecognized compensation cost related to non-vested remaining weighted average vesting period Aggregate intrinsic value of non-vested RSU Share-based compensation, common stock, shares Share-based compensation, shares on net basis after employee payroll taxes Stock compensation expense Issuance of common stock issued for share based compensation Compensation cost related to outstanding stock options Share-based compensation options expiration date Vested and exercisable options, intrinsic value Number of shares issued under employee stock purchase plan' Share-based compensation expense Number of RSUs, Beginning Balance Number of RSUs, Vested Number of RSUs, Cancelled Number of RSUs, Ending Balance Weighted-Average Grant Date Fair Value, Outstanding, Beginning Weighted-Average Grant Date Fair Value, Vested Weighted-Average Grant Date Fair Value, Cancelled Weighted-Average Grant Date Fair Value, Outstanding, Ending Number of Options, Beginning Balance Number of Options, Granted Number of Options, Cancelled or Expired Number of Options, Ending Balance Number of Options, Vested and Exercisable Weighted-Average Exercise Price, Outstanding, Beginning Weighted-Average Exercise Price, Granted Weighted-Average Exercise Price, Cancelled or Expired Weighted-Average Exercise Price, Outstanding, Ending Weighted-Average Exercise Price, Vested and Exercisable Expected Term Expected Volatility, Minimum Expected Volatility, Maximum Expected Dividends Risk Free Interest Rate, Minimum Risk Free Interest Rate, Maximum Upfront payment Share issued price per share Value of stock purchased Development, regulatory and sales milestone payments Upfront payment recorded as deferred revenue Deferred revenue Cumulative catch-up revenue Reduction in research and development expenses Licensing revenue Additional, cumulative sales milestone payments Payment to contract research organization Lease Arrangement, Type [Axis] Damages sought value by plaintiff Litigation expense Due from related party Proceeds from sale of common shares Sale of stock price per share Reverse stock split, description Gross proceeds from offering Public offering, description Net proceeds from offering Balance Balance, shares Stock based compensation Stock based compensation, shares Tax withholdings paid related to net share settlement of equity awards Tax withholdings paid on equity awards Tax shares sold to pay for tax withholdings on equity awards Issuance of shares to employees under ESPP Plan Issuance of shares to employees under ESPP Plan, shares Advaxis at-the-market sales Advaxis at-the-market sales, shares Warrant exercises Warrant exercises, shares ESPP Expense Shares issued in settlement of warrants Shares issued in settlement of warrants, shares Advaxis public offerings Advaxis public offerings, shares Net Loss Balance Balance, shares Common stock warrant liability, warrants exercisable at $0.372 through September 2024 Warrant exercise price per share Beginning balance Shares issued in settlement of warrants Warrant exercises Change in fair value Ending Balance Regain compliance, description Shares issued price per share Proceeds from exercise of warrants Exercise of warrants to common stock Additional, cumulative sales milestone payments. Amgen Agreement [Member] Amgen [Member] Aratana Agreement [Member] Aratana Therapeutics [Member] Balances Without Adoption of ASC 606 [Member] Business Combination Upfront payment. Collaboration Agreements [Policy Text Block] Common Stock Purchase Warrants and Warrant Liability [Text Block] Common stock warrant liability. Condensed statements of Cash flows Abstract Director Stock Awards [Member] Employee Stock Awards [Member] Employee stock purchase plan expense. Especificos Stendhal SA de CV [Member] February 8, 2019 [Member] Finite lived patents expirations year. Finite-lived software, gross. Global BioPharma, Inc [Member] Licensing revenue. Treasury stock purchased to pay employee withholdings on equity awards. Recently Adopted Accounting Standards [Policy Text Block] Restricted Cash and Letter of Credit [Policy Text Block] Restricted Stock Units [Member] Development, regulatory and sales milestone payments. Schedule of changes in the fair value of warrant liabilities [Table Text Block] Schedule of stock options line items. Schedule of stock options table. Share-based compensation shares on net basis after employee payroll taxes. Stock Options [Member] 2018 Employee Stock Purchase Plan [Member] Upfront payment consideration to be included in transaction. Warrant Liability [Member] Loss on shares issued in settlement of warrants. Shares issued in settlement of warrants. Warrant liability reclassified into equity. Schedule of Outstanding Warrants. Private Exchange Agreement [Member] Stock issued during period market sales. Stock issued during period market sales, shares. Stock issued during period value warrant exercises. Stock issued during period value warrant exercises, shares Warrant exercises. Monte Carlo Model [Member] Exercise Price Range One [Member] Exercise Price Range Two [Member] Exercise Price Range Three [Member] 2015 Employee Stock Purchase Plan [Member] Two Board Members [Member] Two Former Board Members [Member] Pre-funded warrant exercises. October 2013 Through July 2019 [Member] Pre-funded warrants included in computation of basic earnings per share. Equity Warrants [Member] Exercise Price Range Four [Member] Share based compensation arrangement by share based payment award non option equity instruments exchanged. Share based compensation arrangement by share based payment award non option equity instruments outstanding and exercisable weighted average exercise price. Share based compensation arrangement by share based payment award non option equity instruments granted weighted average exercise price. Share based compensation arrangement by share based payment award non option equity instruments exercised weighted average exercise price. Share based compensation arrangement by share based payment award non option equity instruments exchanged weighted average exercise price. Share based compensation arrangement by share based payment award non option equity instruments expirations weighted average exercise price. Share based compensation arrangement by share based payment award non option equity instruments outstanding and exercisable aggregate intrinsic value beginning. Share based compensation arrangement by share based payment award non option equity instruments outstanding and exercisable aggregate intrinsic value ending. 2011 & 2018 Employee Stock Purchase Plans [Member] Payment to contract research organization. Underwritten Public Offering [Member] Pre-Funded Warrants [Member] Gross proceeds from offering. Warrants, measurement input fair value, percentage. Warrants, measurement input percentage. Fiscal Year 2020 [Member] Regain compliance, description. Assets, Current Assets Liabilities, Current Liabilities Stockholders' Equity Attributable to Parent Liabilities and Equity Operating Income (Loss) Income (Loss) from Continuing Operations before Equity Method Investments, Income Taxes, Noncontrolling Interest Gain (Loss) on Disposition of Property Plant Equipment Accretion (Amortization) of Discounts and Premiums, Investments Increase (Decrease) in Accounts Receivable Increase (Decrease) in Prepaid Expense and Other Assets Increase (Decrease) in Income Taxes Receivable Increase (Decrease) in Other Operating Assets Increase (Decrease) in Contract with Customer, Liability Increase (Decrease) in Other Current Liabilities Net Cash Provided by (Used in) Operating Activities Payments to Acquire Investments Payments to Acquire Property, Plant, and Equipment Payments to Acquire Intangible Assets Net Cash Provided by (Used in) Investing Activities Payment, Tax Withholding, Share-based Payment Arrangement Stock Bonus Award [Member] Net Cash Provided by (Used in) Financing Activities Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Including Disposal Group and Discontinued Operations Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents Property, Plant and Equipment, Gross Accumulated Depreciation, Depletion and Amortization, Property, Plant, and Equipment Finite-Lived Intangible Assets, Gross Finite-Lived Intangible Assets, Accumulated Amortization Finite-Lived Intangible Assets, Net Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments, Outstanding, Number Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments, Exercised Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments, Expirations ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingAndExercisableWeightedAverageExercisePrice Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures and Expirations in Period Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price Contract with Customer, Liability Shares, Outstanding Share-based Payment Arrangement, Decrease for Tax Withholding Obligation Stock Issued During Period, Value, Other SharesIssuedInSettlementOfWarrants WarrantExercises